Resource StructureDefinition/FHIR Server from package nictiz.fhir.nl.r4.profilingguidelines#0.9.0 (63 ms)
Resources that use this resource
Resources that this resource uses
Source
{
"resourceType" : "StructureDefinition",
"id" : "ProfilingGuidelinesR4-StructureDefinitions-Zib",
"url" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib",
"name" : "ProfilingGuidelinesR4StructureDefinitionsZib",
"title" : "Zib StructureDefinition conformance to FHIR Profiling Guidelines for FHIR R4",
"status" : "draft",
"description" : "Conformance profile to check zib profiles for conformance to the [Nictiz profiling guidelines for FHIR R4](https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4).",
"fhirVersion" : "4.0.1",
"mapping" : [
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "workflow",
"uri" : "http://hl7.org/fhir/workflow",
"name" : "Workflow Pattern"
},
{
"identity" : "w5",
"uri" : "http://hl7.org/fhir/fivews",
"name" : "FiveWs Pattern Mapping"
},
{
"identity" : "iso11179",
"uri" : "http://metadata-standards.org/11179/",
"name" : "ISO 11179"
},
{
"identity" : "objimpl",
"uri" : "http://hl7.org/fhir/object-implementation",
"name" : "Object Implementation Information"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "StructureDefinition",
"baseDefinition" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "StructureDefinition.purpose",
"path" : "StructureDefinition.purpose",
"min" : 1
},
{
"id" : "StructureDefinition.mapping",
"path" : "StructureDefinition.mapping",
"constraint" : [
{
"key" : "sd-zpg-04",
"severity" : "error",
"human" : "Zib mapping name and identity should follow the profiling guidelines",
"expression" : "name.lower().startsWith('zib') implies (name.startsWith('zib ') and identity.startsWith('zib-'))",
"source" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib"
},
{
"key" : "sd-zpg-05",
"severity" : "error",
"human" : "The URI for zib mappings should align with the mapping name",
"expression" : "name.lower().startsWith('zib') implies uri = 'https://zibs.nl/wiki/' + name.replaceMatches('.* ', '')",
"source" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib"
},
{
"key" : "sd-zpg-06",
"severity" : "error",
"human" : "The mapping identity and mapping name for zibs should align according to the profiling guidelines",
"expression" : "identity.lower().startsWith('zib') implies identity = name.replaceMatches('\\\\(.*', '').replace(' ', '-').lower() + name.replaceMatches('.*\\\\((?<suffix>.*)\\\\)', '-${suffix}')",
"source" : "http://nictiz.nl/fhir/StructureDefinition/ProfilingGuidelinesR4-StructureDefinitions-Zib"
}
]
},
{
"id" : "StructureDefinition.differential.element",
"path" : "StructureDefinition.differential.element",
"constraint" : [
{
"key" : "sd-zpg-08",
"severity" : "error",
"human" : "If an alias exists, mapping.map needs to be present.",
"expression" : "alias.exists() implies mapping.map.exists()",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-02",
"severity" : "error",
"human" : "If mapping.map exists and the mapping is not implicit, short should exist",
"expression" : "mapping.select(map.exists() and comment.contains(' (implicit, main mapping is on ').not()).anyTrue() implies short.exists()",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-03",
"severity" : "error",
"human" : "If mapping.map exists and the mapping is not implicit and the element is not the root element, definition should exist.",
"expression" : "(mapping.select(map.exists() and (comment.contains(' (implicit, main mapping is on ') or comment.startsWith('Reversed reference for ')).not()).anyTrue() and (id.indexOf('.') != -1) and mapping.select(map.endsWith('.1').not()).anyTrue()) implies definition.exists()",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
},
{
"key" : "sd-pg-04",
"severity" : "error",
"human" : "If mapping.map exists and the mapping is not implicit, alias should exist.",
"expression" : "mapping.select(map.exists() and comment.contains(' (implicit, main mapping is on ').not()).anyTrue() implies alias.exists()",
"source" : "https://informatiestandaarden.nictiz.nl/wiki/FHIR:V1.0_FHIR_Profiling_Guidelines_R4"
}
]
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.